﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using frag_boardgame;


namespace GameManagerService
{
    // NOTE: If you change the class name "Service1" here, you must also update the reference to "Service1" in App.config.
   // [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
    public class GameService : IGameService
    {
       
       private static  Game game;
        public GameService()
        {
          
        }
        public Game GetGame()
        {

            return game;
            
        }

        public void StartNewGame()
        {
            game = new Game();
        }


      
    }
}
